Skip to content

feat: enhance coupon validation and customer selection in CouponDialog - #333

Open
MohamedAliSmk wants to merge 1 commit into
developfrom
PN-77-Fixing-Issue-with-customer-is-None-while-the-API-expects-a-string.-I-ll-inspect-validate_coupon-and-how-the-POS-client-calls-it
Open

feat: enhance coupon validation and customer selection in CouponDialog#333
MohamedAliSmk wants to merge 1 commit into
developfrom
PN-77-Fixing-Issue-with-customer-is-None-while-the-API-expects-a-string.-I-ll-inspect-validate_coupon-and-how-the-POS-client-calls-it

Conversation

@MohamedAliSmk

Copy link
Copy Markdown
Collaborator

Updated the coupon validation logic to ensure a customer is selected before applying a coupon. Added a default empty string for the customer prop in the CouponDialog component and improved error handling to prompt the user if no customer is chosen.

Updated the coupon validation logic to ensure a customer is selected before applying a coupon. Added a default empty string for the customer prop in the CouponDialog component and improved error handling to prompt the user if no customer is chosen.
@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had recent activity for 21 days.

To keep this PR open, please:

  • Rebase on the latest develop branch
  • Address any pending review comments
  • Reply with an update on the PR status

If no further activity occurs within the next 14 days, this PR will be automatically closed.

@github-actions github-actions Bot added stale and removed stale labels Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant